//
//  SurpriseCountdownCell.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/11.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class SurpriseCountdownCell: BaseTableViewCell {

    @IBOutlet weak var bgView: UIView!
    
    var model : [SupriseDataListModel]?{
    
        didSet{
            
            if model == nil || model?.count == 0{
                return
            }
            
            QL1(model![0])
        
//            var od_id = "-999"
//            var goods_image = "-999"
//            var countdown = "-999"
    //["od_buy_count": -999, "od_count": -999, "od_progress": -999, "od_type": -999, "goods_info": <null>, "goods_image": http://mall.xjscvip.com/data/upload/shop/store/goods/1/1_05549846119202353_240.jpg, "countdown": 65538, "od_id": 31]
        }
    
    
    }
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        
        bgView.addCornerAndBorder(borderColor: nil, borderWidth: 0, masksToBounds: true, cornerRadius: 5)

        // Configure the view for the selected state
    }
    
}
